package cn.bgs.mapper;

import cn.bgs.pojo.HomeStyle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 家乡风貌表 Mapper 接口
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Mapper
public interface HomeStyleMapper extends BaseMapper<HomeStyle> {

    List<HomeStyle> findHomeStyle(@Param("homeStyTitle") String homeStyTitle,@Param("homeStyFrom") String homeStyFrom);

    HomeStyle findHomeStyleId(Integer id);

    Integer addHomeStyle(HomeStyle homeStyle);

    Integer updateHomeStyle(HomeStyle homeStyle);
}
